export default function createStorePlugin(socket) {
  return (store) => {
    // socket.on('data', (data) => {
    //   store.commit('receiveData', data)
    // })
    store.subscribe((mutation) => {
      console.log('mutation', mutation)
    })
  }
}
